package monopoli.game;


public class Banconota implements Comparable {

    private int value;
    private int amount;
    private String name;
           
            

    public Banconota () {
    }

    public int getValue () {
        return value;
    }

    public void setValue (int val) {
        this.value = val;
    }
    
    public int getAmount () {
        return amount;
    }

    public void setAmount (int val) {
        this.amount = val;
    }
    
    public String getName () {
        return name;
    }

    public void setName (String val) {
        this.name = val;
    }

    public int compareTo(Object arg0) {
        return (this.getValue() - ((Banconota)arg0).getValue());
    }
    

}

